<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>gozerlib.wave.event &mdash; GOZERWAVE v0.1 BETA documentation</title>
    <link rel="stylesheet" href="../../_static/default.css" type="text/css" />
    <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '../../',
        VERSION:     '0.1 BETA',
        COLLAPSE_MODINDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="../../_static/jquery.js"></script>
    <script type="text/javascript" src="../../_static/doctools.js"></script>
    <link rel="top" title="GOZERWAVE v0.1 BETA documentation" href="../../index.html" />
    <link rel="up" title="gozerlib.wave" href="index.html" />
    <link rel="next" title="gozerlib.wave.waves" href="waves.html" />
    <link rel="prev" title="gozerlib.wave.bot" href="bot.html" /> 
  </head>
  <body>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../../genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="../../modindex.html" title="Global Module Index"
             accesskey="M">modules</a> |</li>
        <li class="right" >
          <a href="waves.html" title="gozerlib.wave.waves"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="bot.html" title="gozerlib.wave.bot"
             accesskey="P">previous</a> |</li>
        <li><a href="../../index.html">GOZERWAVE v0.1 BETA documentation</a> &raquo;</li>
          <li><a href="index.html" accesskey="U">gozerlib.wave</a> &raquo;</li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="module-gozerlib.wave.event">
<h1>gozerlib.wave.event<a class="headerlink" href="#module-gozerlib.wave.event" title="Permalink to this headline">¶</a></h1>
<p>google wave events.</p>
<dl class="class">
<dt id="gozerlib.wave.event.WaveEvent">
<em class="property">class </em><tt class="descclassname">gozerlib.wave.event.</tt><tt class="descname">WaveEvent</tt><a class="headerlink" href="#gozerlib.wave.event.WaveEvent" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a title="gozerlib.eventbase.EventBase" class="reference external" href="../eventbase.html#gozerlib.eventbase.EventBase"><tt class="xref docutils literal"><span class="pre">gozerlib.eventbase.EventBase</span></tt></a></p>
<p>a wave event.</p>
<dl class="method">
<dt id="gozerlib.wave.event.WaveEvent.parse">
<tt class="descname">parse</tt><big>(</big><em>bot</em>, <em>properties</em>, <em>context</em><big>)</big><a class="headerlink" href="#gozerlib.wave.event.WaveEvent.parse" title="Permalink to this definition">¶</a></dt>
<dd>parse properties and context into a WaveEvent.</dd></dl>

<dl class="method">
<dt id="gozerlib.wave.event.WaveEvent.reply">
<tt class="descname">reply</tt><big>(</big><em>txt</em>, <em>resultlist=</em><span class="optional">[</span><span class="optional">]</span>, <em>nritems=False</em>, <em>*args</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#gozerlib.wave.event.WaveEvent.reply" title="Permalink to this definition">¶</a></dt>
<dd>reply to blip.</dd></dl>

<dl class="method">
<dt id="gozerlib.wave.event.WaveEvent.replyroot">
<tt class="descname">replyroot</tt><big>(</big><em>txt</em>, <em>resultlist=</em><span class="optional">[</span><span class="optional">]</span>, <em>nritems=False</em>, <em>root=None</em>, <em>*args</em>, <em>**kwargs</em><big>)</big><a class="headerlink" href="#gozerlib.wave.event.WaveEvent.replyroot" title="Permalink to this definition">¶</a></dt>
<dd>reply to wave root.</dd></dl>

<dl class="method">
<dt id="gozerlib.wave.event.WaveEvent.write">
<tt class="descname">write</tt><big>(</big><em>outtxt</em><big>)</big><a class="headerlink" href="#gozerlib.wave.event.WaveEvent.write" title="Permalink to this definition">¶</a></dt>
<dd>write outtxt to the server.</dd></dl>

<dl class="method">
<dt id="gozerlib.wave.event.WaveEvent.write_root">
<tt class="descname">write_root</tt><big>(</big><em>outtxt</em>, <em>root=None</em><big>)</big><a class="headerlink" href="#gozerlib.wave.event.WaveEvent.write_root" title="Permalink to this definition">¶</a></dt>
<dd>write to the root of a wave.</dd></dl>

</dd></dl>

<div class="section" id="code">
<h2>code<a class="headerlink" href="#code" title="Permalink to this headline">¶</a></h2>
<div class="highlight-python"><table class="highlighttable"><tr><td class="linenos"><pre>  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136</pre></td><td class="code"><div class="highlight"><pre><span class="c"># gozerlib/wave/event.py</span>
<span class="c">#</span>
<span class="c">#</span>

<span class="sd">&quot;&quot;&quot; google wave events. &quot;&quot;&quot;</span>

<span class="c">## gozerlib imports</span>
<span class="kn">from</span> <span class="nn">gozerlib.utils.auth</span> <span class="kn">import</span> <span class="n">finduser</span>
<span class="kn">from</span> <span class="nn">gozerlib.eventbase</span> <span class="kn">import</span> <span class="n">EventBase</span>

<span class="c">## basic imports</span>

<span class="kn">import</span> <span class="nn">logging</span>
<span class="kn">import</span> <span class="nn">cgi</span>

<span class="k">class</span> <span class="nc">WaveEvent</span><span class="p">(</span><span class="n">EventBase</span><span class="p">):</span>


    <span class="sd">&quot;&quot;&quot; a wave event. &quot;&quot;&quot;</span>

    <span class="k">def</span> <span class="nf">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
        <span class="n">EventBase</span><span class="o">.</span><span class="n">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">)</span>
        <span class="bp">self</span><span class="o">.</span><span class="n">type</span> <span class="o">=</span> <span class="s">&quot;wave&quot;</span>

    <span class="k">def</span> <span class="nf">parse</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">bot</span><span class="p">,</span> <span class="n">properties</span><span class="p">,</span> <span class="n">context</span><span class="p">):</span>

        <span class="sd">&quot;&quot;&quot; parse properties and context into a WaveEvent. &quot;&quot;&quot;</span>

        <span class="n">logging</span><span class="o">.</span><span class="n">debug</span><span class="p">(</span><span class="s">&quot;WaveEvent created: </span><span class="si">%s</span><span class="s">&quot;</span> <span class="o">%</span> <span class="nb">repr</span><span class="p">(</span><span class="n">properties</span><span class="p">))</span>
        <span class="bp">self</span><span class="o">.</span><span class="n">bot</span> <span class="o">=</span> <span class="n">bot</span>
        <span class="bp">self</span><span class="o">.</span><span class="n">properties</span> <span class="o">=</span> <span class="n">properties</span>
        <span class="bp">self</span><span class="o">.</span><span class="n">context</span> <span class="o">=</span> <span class="n">context</span>
        <span class="c">#logging.debug(&quot;context: %s&quot; % dir(self.context))</span>
        <span class="c">#logging.debug(&quot;serialized: %s&quot; % str(self.context.Serialize()))</span>
        <span class="bp">self</span><span class="o">.</span><span class="n">blipId</span> <span class="o">=</span> <span class="n">properties</span><span class="p">[</span><span class="s">&#39;blipId&#39;</span><span class="p">]</span>
        <span class="bp">self</span><span class="o">.</span><span class="n">blip</span> <span class="o">=</span> <span class="n">context</span><span class="o">.</span><span class="n">GetBlipById</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">blipId</span><span class="p">)</span>
        <span class="k">if</span> <span class="ow">not</span> <span class="bp">self</span><span class="o">.</span><span class="n">blip</span><span class="p">:</span>
            <span class="n">logging</span><span class="o">.</span><span class="n">warn</span><span class="p">(</span><span class="s">&quot;can&#39;t get blip id: </span><span class="si">%s</span><span class="s">&quot;</span> <span class="o">%</span> <span class="bp">self</span><span class="o">.</span><span class="n">blipId</span><span class="p">)</span>
            <span class="bp">self</span><span class="o">.</span><span class="n">contributors</span> <span class="o">=</span> <span class="p">[]</span>
            <span class="bp">self</span><span class="o">.</span><span class="n">doc</span> <span class="o">=</span> <span class="bp">None</span>
            <span class="bp">self</span><span class="o">.</span><span class="n">txt</span> <span class="o">=</span> <span class="s">&quot;&quot;</span>
            <span class="bp">self</span><span class="o">.</span><span class="n">userhost</span> <span class="o">=</span> <span class="s">&quot;&quot;</span>
        <span class="k">else</span><span class="p">:</span>
            <span class="n">logging</span><span class="o">.</span><span class="n">debug</span><span class="p">(</span><span class="s">&quot;blip: </span><span class="si">%s</span><span class="s">&quot;</span> <span class="o">%</span> <span class="nb">dir</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">blip</span><span class="p">))</span>
            <span class="bp">self</span><span class="o">.</span><span class="n">contributors</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">blip</span><span class="o">.</span><span class="n">GetContributors</span><span class="p">()</span>
            <span class="bp">self</span><span class="o">.</span><span class="n">doc</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">blip</span><span class="o">.</span><span class="n">GetDocument</span><span class="p">()</span>
            <span class="c">#logging.debug(&quot;document: %s&quot; % dir(self.doc))</span>
            <span class="bp">self</span><span class="o">.</span><span class="n">origtxt</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">doc</span><span class="o">.</span><span class="n">GetText</span><span class="p">()</span>
            <span class="bp">self</span><span class="o">.</span><span class="n">txt</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">origtxt</span><span class="o">.</span><span class="n">strip</span><span class="p">()</span>
            <span class="bp">self</span><span class="o">.</span><span class="n">userhost</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">blip</span><span class="o">.</span><span class="n">GetCreator</span><span class="p">()</span>
        <span class="bp">self</span><span class="o">.</span><span class="n">auth</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">userhost</span>
        <span class="c">#logging.debug(&quot;auth is %s&quot; % self.auth)</span>
        <span class="bp">self</span><span class="o">.</span><span class="n">root</span> <span class="o">=</span> <span class="n">context</span><span class="o">.</span><span class="n">GetRootWavelet</span><span class="p">()</span>
        <span class="c">#logging.debug(&quot;root: %s&quot; % dir(self.root))</span>
        <span class="bp">self</span><span class="o">.</span><span class="n">channel</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">root</span><span class="o">.</span><span class="n">waveId</span>
        <span class="bp">self</span><span class="o">.</span><span class="n">makeargs</span><span class="p">()</span>        
        <span class="k">return</span> <span class="bp">self</span>

    <span class="k">def</span> <span class="nf">__deepcopy__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">a</span><span class="p">):</span>

        <span class="sd">&quot;&quot;&quot; deepcopy a wave event. &quot;&quot;&quot;</span>

        <span class="k">return</span> <span class="n">WaveEvent</span><span class="p">()</span><span class="o">.</span><span class="n">copyin</span><span class="p">(</span><span class="bp">self</span><span class="p">)</span><span class="o">.</span><span class="n">parse</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">bot</span><span class="p">,</span> <span class="bp">self</span><span class="o">.</span><span class="n">properties</span><span class="p">,</span> <span class="bp">self</span><span class="o">.</span><span class="n">context</span><span class="p">)</span>

    <span class="k">def</span> <span class="nf">_raw</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">outtxt</span><span class="p">,</span> <span class="n">root</span><span class="o">=</span><span class="bp">None</span><span class="p">):</span>

        <span class="sd">&quot;&quot;&quot; send raw text to the server .. creates a blip on the root. &quot;&quot;&quot;</span>

        <span class="k">if</span> <span class="n">root</span><span class="p">:</span>
            <span class="n">blip</span> <span class="o">=</span> <span class="n">root</span><span class="o">.</span><span class="n">CreateBlip</span><span class="p">()</span>
        <span class="k">else</span><span class="p">:</span>
            <span class="n">blip</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">root</span><span class="o">.</span><span class="n">CreateBlip</span><span class="p">()</span>

        <span class="n">blip</span><span class="o">.</span><span class="n">GetDocument</span><span class="p">()</span><span class="o">.</span><span class="n">AppendText</span><span class="p">(</span><span class="n">outtxt</span><span class="p">)</span>

    <span class="k">def</span> <span class="nf">reply</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">txt</span><span class="p">,</span> <span class="n">resultlist</span><span class="o">=</span><span class="p">[],</span> <span class="n">nritems</span><span class="o">=</span><span class="bp">False</span><span class="p">,</span> <span class="o">*</span><span class="n">args</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">):</span>

        <span class="sd">&quot;&quot;&quot; reply to blip. &quot;&quot;&quot;</span>

        <span class="k">if</span> <span class="bp">self</span><span class="o">.</span><span class="n">checkqueues</span><span class="p">(</span><span class="n">resultlist</span><span class="p">):</span>
            <span class="k">return</span>

        <span class="k">if</span> <span class="n">resultlist</span><span class="p">:</span>
            <span class="n">outtxt</span> <span class="o">=</span> <span class="n">txt</span> <span class="o">+</span> <span class="s">u&quot; &quot;</span> <span class="o">+</span> <span class="s">u&#39; .. &#39;</span><span class="o">.</span><span class="n">join</span><span class="p">(</span><span class="n">resultlist</span><span class="p">)</span>
        <span class="k">else</span><span class="p">:</span>
            <span class="n">outtxt</span> <span class="o">=</span> <span class="n">txt</span>

        <span class="k">if</span> <span class="ow">not</span> <span class="n">outtxt</span><span class="p">:</span>
            <span class="k">return</span>

        <span class="c">#self.doc.SetText(cgi.escape(outtxt))</span>
        <span class="p">(</span><span class="n">res1</span><span class="p">,</span> <span class="n">res2</span><span class="p">)</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">less</span><span class="p">(</span><span class="n">outtxt</span><span class="p">)</span>
        <span class="bp">self</span><span class="o">.</span><span class="n">write</span><span class="p">(</span><span class="n">res1</span><span class="p">)</span>
        <span class="k">if</span> <span class="n">res2</span><span class="p">:</span>
            <span class="bp">self</span><span class="o">.</span><span class="n">write</span><span class="p">(</span><span class="n">res2</span><span class="p">)</span>

    <span class="k">def</span> <span class="nf">write</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">outtxt</span><span class="p">):</span>

        <span class="sd">&quot;&quot;&quot; write outtxt to the server. &quot;&quot;&quot;</span>

        <span class="n">logging</span><span class="o">.</span><span class="n">debug</span><span class="p">(</span><span class="s">&quot;wave - output: </span><span class="si">%s</span><span class="s">&quot;</span> <span class="o">%</span> <span class="n">outtxt</span><span class="p">)</span>
        <span class="k">if</span> <span class="ow">not</span> <span class="bp">self</span><span class="o">.</span><span class="n">child</span><span class="p">:</span>
            <span class="bp">self</span><span class="o">.</span><span class="n">child</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">blip</span><span class="o">.</span><span class="n">CreateChild</span><span class="p">()</span>
            <span class="n">logging</span><span class="o">.</span><span class="n">debug</span><span class="p">(</span><span class="s">&quot;child: </span><span class="si">%s</span><span class="s">&quot;</span> <span class="o">%</span> <span class="nb">dir</span><span class="p">(</span><span class="bp">self</span><span class="o">.</span><span class="n">child</span><span class="p">))</span>

        <span class="k">if</span> <span class="bp">self</span><span class="o">.</span><span class="n">replied</span><span class="p">:</span>
            <span class="bp">self</span><span class="o">.</span><span class="n">child</span><span class="o">.</span><span class="n">GetDocument</span><span class="p">()</span><span class="o">.</span><span class="n">AppendText</span><span class="p">(</span><span class="s">&quot;</span><span class="se">\n\n</span><span class="s">&quot;</span><span class="p">)</span>

        <span class="bp">self</span><span class="o">.</span><span class="n">child</span><span class="o">.</span><span class="n">GetDocument</span><span class="p">()</span><span class="o">.</span><span class="n">AppendText</span><span class="p">(</span><span class="n">outtxt</span><span class="p">)</span>
        <span class="bp">self</span><span class="o">.</span><span class="n">replied</span> <span class="o">=</span> <span class="bp">True</span>

    <span class="k">def</span> <span class="nf">write_root</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">outtxt</span><span class="p">,</span> <span class="n">root</span><span class="o">=</span><span class="bp">None</span><span class="p">):</span>

        <span class="sd">&quot;&quot;&quot; write to the root of a wave. &quot;&quot;&quot;</span>

        <span class="bp">self</span><span class="o">.</span><span class="n">_raw</span><span class="p">(</span><span class="n">outtxt</span><span class="p">,</span> <span class="n">root</span><span class="p">)</span>

    <span class="k">def</span> <span class="nf">replyroot</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">txt</span><span class="p">,</span> <span class="n">resultlist</span><span class="o">=</span><span class="p">[],</span> <span class="n">nritems</span><span class="o">=</span><span class="bp">False</span><span class="p">,</span> <span class="n">root</span><span class="o">=</span><span class="bp">None</span><span class="p">,</span> <span class="o">*</span><span class="n">args</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">):</span>

        <span class="sd">&quot;&quot;&quot; reply to wave root. &quot;&quot;&quot;</span>

        <span class="k">if</span> <span class="bp">self</span><span class="o">.</span><span class="n">checkqueues</span><span class="p">(</span><span class="n">resultlist</span><span class="p">):</span>
            <span class="k">return</span>

        <span class="k">if</span> <span class="n">resultlist</span><span class="p">:</span>
            <span class="n">outtxt</span> <span class="o">=</span> <span class="n">txt</span> <span class="o">+</span> <span class="s">u&quot; &quot;</span> <span class="o">+</span> <span class="s">u&#39; .. &#39;</span><span class="o">.</span><span class="n">join</span><span class="p">(</span><span class="n">resultlist</span><span class="p">)</span>
        <span class="k">else</span><span class="p">:</span>
            <span class="n">outtxt</span> <span class="o">=</span> <span class="n">txt</span>

        <span class="k">if</span> <span class="ow">not</span> <span class="n">outtxt</span><span class="p">:</span>
            <span class="k">return</span>

        <span class="p">(</span><span class="n">res1</span><span class="p">,</span> <span class="n">res2</span><span class="p">)</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">less</span><span class="p">(</span><span class="n">outtxt</span><span class="p">)</span>
        <span class="bp">self</span><span class="o">.</span><span class="n">write_root</span><span class="p">(</span><span class="n">res1</span><span class="p">,</span> <span class="n">root</span><span class="p">)</span>
        <span class="k">if</span> <span class="n">res2</span><span class="p">:</span>
            <span class="bp">self</span><span class="o">.</span><span class="n">write_root</span><span class="p">(</span><span class="n">res2</span><span class="p">,</span> <span class="n">root</span><span class="p">)</span>
</pre></div>
</td></tr></table></div>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
            <h3><a href="../../index.html">Table Of Contents</a></h3>
            <ul>
<li><a class="reference external" href="">gozerlib.wave.event</a><ul>
<li><a class="reference external" href="#code">code</a></li>
</ul>
</li>
</ul>

            <h4>Previous topic</h4>
            <p class="topless"><a href="bot.html"
                                  title="previous chapter">gozerlib.wave.bot</a></p>
            <h4>Next topic</h4>
            <p class="topless"><a href="waves.html"
                                  title="next chapter">gozerlib.wave.waves</a></p>
            <h3>This Page</h3>
            <ul class="this-page-menu">
              <li><a href="../../_sources/gozerlib/wave/event.txt"
                     rel="nofollow">Show Source</a></li>
            </ul>
          <div id="searchbox" style="display: none">
            <h3>Quick search</h3>
              <form class="search" action="../../search.html" method="get">
                <input type="text" name="q" size="18" />
                <input type="submit" value="Go" />
                <input type="hidden" name="check_keywords" value="yes" />
                <input type="hidden" name="area" value="default" />
              </form>
              <p class="searchtip" style="font-size: 90%">
              Enter search terms or a module, class or function name.
              </p>
          </div>
          <script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../../genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="../../modindex.html" title="Global Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="waves.html" title="gozerlib.wave.waves"
             >next</a> |</li>
        <li class="right" >
          <a href="bot.html" title="gozerlib.wave.bot"
             >previous</a> |</li>
        <li><a href="../../index.html">GOZERWAVE v0.1 BETA documentation</a> &raquo;</li>
          <li><a href="index.html" >gozerlib.wave</a> &raquo;</li> 
      </ul>
    </div>
    <div class="footer">
      &copy; Copyright 2009, Bart Thate.
      Last updated on Nov 14, 2009.
      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.3.
    </div>
  </body>
</html>